package cn.com.wangluotongxin.merchants.mapper;

import cn.com.wangluotongxin.merchants.dto.UserDto;
import cn.com.wangluotongxin.merchants.model.MerchantsUser;
import cn.com.wangluotongxin.merchants.vo.UserVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 商户管理-用户表 Mapper 接口
 * </p>
 *
 * @author AutoGenerator
 * @since 2024-04-26
 */
@Mapper
public interface MerchantsUserMapper extends BaseMapper<MerchantsUser> {

    UserVo getInfo(@Param("id") Integer id);

    IPage<UserVo> getPage(Page page, @Param("dto") UserDto dto);
}
